package com.lian.community.util;

import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;

public class JsonUtil {

    public static String getJsonString(int code, String result){
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("code", code);
        jsonObject.put("result", result);
        return jsonObject.toJSONString();
    }
}
